﻿using JESAI.Biz.Data.Enums;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace JESAI.Application.Abstractions.Sys.Dtos
{
    public class FormDataSourceRefDto
    {
        /// <summary>
        /// 主键ID
        /// </summary>
        public string Id { get; set; }

        /// <summary>
        /// 表单ID
        /// </summary>
        public string FormId { get; set; }

        /// <summary>
        /// 表单字段
        /// </summary>
        public string FormField { get; set; }

        /// <summary>
        /// 表单标题
        /// </summary>
        public string FormTitle { get; set; }

        /// <summary>
        /// 表单类型
        /// </summary>
        public string FormType { get; set; }

        /// <summary>
        /// 字段
        /// </summary>
        public string Columns { get; set; }

        /// <summary>
        /// 数据表ID
        /// </summary>
        public string TableId { get; set; }

        /// <summary>
        /// 数据表字段ID
        /// </summary>
        public string ColumnsId { get; set; }

        /// <summary>
        /// 数据表编码
        /// </summary>
        public string TableCode { get; set; }

        /// <summary>
        /// 数据表名
        /// </summary>
        public string TableName { get; set; }

        /// <summary>
        /// 数据表描述
        /// </summary>
        public string TableComments { get; set; }

        /// <summary>
        /// 数据表字段名
        /// </summary>
        public string ColumnsName { get; set; }

        /// <summary>
        /// 数据类型
        /// </summary>
        public DataSourceDataType DataType { get; set; }

        /// <summary>
        /// 数据长度
        /// </summary>
        public int DataLength { get; set; }
    }
}
